package com.xyz.repository;

import com.xyz.entity.Girl;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by sunny on 2016/12/20.
 */
//JpaRepository<Girl, Integer>  返回类型和Id类型
 @Repository
public interface GirlRepository extends JpaRepository<Girl, Integer> {
    //List<Girl> selectGirls();
}
